package net.sx.minemodule.mvp.model;

import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseItem;
import com.kedll.library.mvp.BaseModel;

import net.sx.minemodule.mvp.item.HistoryBrokerageItem;

/**
 * add shibo.zheng
 * 19/07/08
 * 历史佣金记录model 数据请求成功放入此类
 */
public class HistoryBrokerageModel extends BaseModel<HistoryBrokerageItem> {

    /**
     * historyTime : 2019-01-01~2019-12-31  //时间段
     * totalCommission : 675                //年总佣金
     */

    private String historyTime;
    private int totalCommission;

    public String getHistoryTime() {
        return historyTime;
    }

    public void setHistoryTime(String historyTime) {
        this.historyTime = historyTime;
    }

    public String getTotalCommission() {
        return String.valueOf(totalCommission);
    }

    public void setTotalCommission(int totalCommission) {
        this.totalCommission = totalCommission;
    }

    @Override
    public HistoryBrokerageItem createItem(MultiTypeAdapter adapter) {
        return new HistoryBrokerageItem(this);
    }
}
